package com.vhr.form;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.util.Date;

@Data
public class EmployeeForm {

    private Integer empId;

    private String empName;

    @JSONField(format = "yyyy-MM-dd")
    private Date empBirth;

    private String empNation;

    private String empMail;

    private String empPhone;

    private String empNative;

    private String empEduc;

    private Integer deptId;

    private String deptName;

    @JSONField(format = "yyyy-MM-dd")
    private Date empEntrytime;//入职时间

    private String contractType;//合同类型

    private Integer contractDuration;//合同时长

    @JSONField(format = "yyyy-MM-dd")
    private Date contractTime;//签订合同的时间

    private Double baseSalary;//基本薪资

    private Double foodSalary;

    private Double travelSalary;

    private Double houseSalary;


}
